package com.mzy.olddate.demo.fast;

/**
 * @author Ives
 * * @date 2021/8/5
 */
public class Test {
  public static void main(String[] args) {
//    try {
//      List<ColContentInfoListVo> subList = mapper.readValue(item.getParamValue(), new TypeReference<List<ColContentInfoListVo>>() {
//      });

//    for (SysParam item : sysParamList) {
//      HomeAdvInfo homeAdvInfo = new HomeAdvInfo();
//      homeAdvInfo.setOrder(item.getParamDesc());
//      homeAdvInfo.setZoneName(item.getParamName());
//      ObjectMapper mapper = new ObjectMapper();
//      try {
//        List<ColContentInfoListVo> subList = mapper.readValue(item.getParamValue(), new TypeReference<List<ColContentInfoListVo>>() {
//        });
//        homeAdvInfo.setColCodeList(subList.stream().map(ColContentInfoListVo::getColCode).collect(Collectors.toList()));
//        colContentInfoListVoList.addAll(subList);
//      } catch (IOException e) {
//        log.error(PortalConstants.JSON_TRANSFORM_ERROR_CODE + e.getMessage());
//      }
//      list.add(homeAdvInfo);
//    }

  }
}
